package com.lw.common.basemodel;

import java.io.Serializable;
/**
 * 
* @Title: Json.java 
* @Package com.lw.common.basemodel 
* @Description: 通用返回给json对象
* @author 刘伟  15818570028@163.com   
* @date 2016年12月23日 上午8:50:50 
* @version V1.0
 */
public class Json implements Serializable {
	private static final long serialVersionUID = -7743207517521826662L;

	private boolean success = false;

	private String msg = "";

	private Object obj = null;

	public boolean isSuccess() {
		return success;
	}

	public Json setSuccess(boolean success) {
		this.success = success;
		return this;
	}

	public String getMsg() {
		return msg;
	}

	public Json setMsg(String msg) {
		this.msg = msg;
		return this;
	}

	public Object getObj() {
		return obj;
	}

	public Json setObj(Object obj) {
		this.obj = obj;
		return this;
	}

}
